﻿using System;
using Core.Base.UI;

namespace Core.Base.Module
{
    /// <summary>
    /// 模块的属性
    /// </summary>
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
    public sealed class ModuleAttribute : Attribute
    {
        public ModuleAttribute(string sceneName)
        {
            SceneName = sceneName;
        }

        /// <summary>
        /// 该模块对应的场景名
        /// </summary>
        public string SceneName { get; private set; }
    }
}